const router = require('express').Router()
const { getList: MGT, verifyToken: VT, add: MA, selectAll: MSA } = require('../middleware/adminUser')
const { getList: CGT, add: CA, select: CS, remove: CR, selectAll: CSA, removeSelect: CRS } = require('../controller/adminUser')


router.get('/list', MGT, CGT)
router.post('/add', MA, CA)
router.post('/select', MA, CS)
router.post('/select/all', MSA, CSA)
router.get('/remove', MA, CR)
router.get('/remove/select', CRS)

module.exports = router
